home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-09-25 | 1.1 KB | 50 lines | [TEXT/MPS ] |
- TITLE 'Format resource for Setdrug'
- BLANKS ON
- CASE ON
- String Pascal
- Machine MC68020
- MC68881
-
- ; This resource provides our special dialog filter with the information to
- ; validate numeric field entry. If Rez permitted extended reals as a data type,
- ; the resource would be as follows:
- ;type 'Frm#' {
- ; integer = $$CountOf(FormatArray) - 1;
- ; wide array FormatArray {
- ; integer; /*ItemNum of editable text item*/
- ; integer; /*ItemNum of static text item associated with this field*/
- ; integer; /*Type of field*/
- ; integer; /*badVal*/
- ; extended; /*minVal*/
- ; extended /*maxVal*/
- ; };
- ;};
-
- TextFormat equ 1
- IntegerFormat equ 2
- RealFormat equ 3
-
- Main
-
- DC.W 2
- DC.W 1 ;ItemNum of Newbag button
- DC.W 9 ;ItemNum of default item
-
- ; SNPdose
- DC.W 3
- DC.W 18
- DC.W RealFormat
- DC.W 0
- DC.X "0.0" ; min
- DC.X "499.0" ; max
-
- ; VolumeHung
- DC.W 4
- DC.W 19
- DC.W IntegerFormat
- DC.W 0
- DC.X "1.0" ; min
- DC.X "1999.0" ; max
-
- END
-